package com.starmark.core.feign.config;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.stereotype.Component;

@Component
public class FeignInterceptor implements RequestInterceptor {


    public void apply(RequestTemplate requestTemplate){
        requestTemplate.header("feign-header", "true");
    }
}